package com.lekang.le.domain;

import java.math.BigDecimal;

import com.lekang.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lekang.common.annotation.Excel;
import com.lekang.common.core.domain.BaseEntity;

/**
 * 预存款充值对象 prepayment_recharge
 * 
 * @author yyh
 * @date 2025-10-14
 */
public class PrepaymentRecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 充值单号 */
    @Excel(name = "充值单号")
    private String rechargeNo;

    /** 关联老人表外键 */
    @Excel(name = "关联老人表外键")
    private Long elderlyId;

    private String elderlyName;
    private String bedNo;
    private ElderlySzh elderly;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal rechargeAmount;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String paymentMethod;

    /** 充值凭证图片 */
    @Excel(name = "充值凭证图片")
    private String rechargeVoucher;


    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    private SysUser sysUser;

    /** 逻辑删除 */
    private Long isDeleted;

    /** 额外字段1 */
    private String extraField1;

    /** 额外字段2 */
    private String extraField2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRechargeNo(String rechargeNo) 
    {
        this.rechargeNo = rechargeNo;
    }

    public String getRechargeNo() 
    {
        return rechargeNo;
    }

    public void setElderlyId(Long elderlyId) 
    {
        this.elderlyId = elderlyId;
    }

    public Long getElderlyId() 
    {
        return elderlyId;
    }

    public void setRechargeAmount(BigDecimal rechargeAmount) 
    {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getRechargeAmount() 
    {
        return rechargeAmount;
    }

    public void setPaymentMethod(String paymentMethod) 
    {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentMethod() 
    {
        return paymentMethod;
    }

    public void setRechargeVoucher(String rechargeVoucher) 
    {
        this.rechargeVoucher = rechargeVoucher;
    }

    public String getRechargeVoucher() 
    {
        return rechargeVoucher;
    }

    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    public void setExtraField1(String extraField1) 
    {
        this.extraField1 = extraField1;
    }

    public String getExtraField1() 
    {
        return extraField1;
    }

    public void setExtraField2(String extraField2) 
    {
        this.extraField2 = extraField2;
    }

    public String getExtraField2() 
    {
        return extraField2;
    }
    public ElderlySzh getElderlySzh() {
        return elderly;
    }

    public void setElderlySzh(ElderlySzh elderly) {
        this.elderly = elderly;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }
    public String getElderlyName() {
        return elderlyName;
    }

    public void setElderlyName(String elderlyName) {
        this.elderlyName = elderlyName;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public ElderlySzh getElderly() {
        return elderly;
    }

    public void setElderly(ElderlySzh elderly) {
        this.elderly = elderly;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rechargeNo", getRechargeNo())
            .append("elderlyId", getElderlyId())
            .append("elderly",getElderlySzh())
            .append("rechargeAmount", getRechargeAmount())
            .append("paymentMethod", getPaymentMethod())
            .append("rechargeVoucher", getRechargeVoucher())
            .append("remark", getRemark())
            .append("operator", getOperator())
            .append("sysUser",getSysUser())
            .append("elderlyName",getElderlyName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .append("extraField1", getExtraField1())
            .append("extraField2", getExtraField2())
            .toString();
    }
}
